package com.hskn.hss.module.menu.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.hskn.hss.module.menu.entity.SysMenu;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * Mapper 接口
 * </p>
 *
 * @author hskn
 * @since 2021-05-04
 */
public interface SysMenuMapper extends BaseMapper<SysMenu> {
    public Page<SysMenu> listMenu(Page<SysMenu> page, Map map);

    public List<SysMenu> getMenuListByUserid(@Param("userid") String userid);

    public List getTreeList();
}
